package com.demo.testcases.login;

import com.demo.BasicTestCase;
import org.testng.annotations.Test;

import static org.testng.Assert.assertEquals;

/**
 * Created by Administrator on 2017/7/7.
 */
public class Login1 extends BasicTestCase {

    @Test
    public void testName() throws Exception {
        helper.getPageCommon().clickMyTab();
        helper.getPageMy().clickLoginIcon();
        helper.getPageLogin().login("robotium2016@163.com","87654321");
        assertEquals("robotium2016",helper.getPageMy().getNickNameText());

    }
}
